﻿using System.Runtime.Serialization;
using System;
using System.Collections.Generic;

/*****************************************************************************************************************          
 Copyright © 2010 - Banco Itaú BBA S.A          
          
 TetoMitigacao : 
            
 Histórico de Alterações:      
12/08/2010 - AAALVES	- Criacao OS393398 
28/10/2010 - Aline Abreu Alves (AAALVES)	- Alteracao OS423540 
 *****************************************************************************************************************/


namespace ibba.src.norisk.Contracts
{
    [DataContract]
    public class TetoMitigacao
    {
        [DataMember]
        public int CodBem { get; set; }
        [DataMember]
        public int CodInstrumento { get; set; }
        [DataMember]
        public int CodNatureza { get; set; }
        [DataMember]
        public string CodUsuario { get; set; }
        [DataMember]
        public System.DateTime DatInicioVigencia { get; set; }
        [DataMember]
        public System.DateTime DatFimVigencia { get; set; }
        [DataMember]
        public string DscBem { get; set; }
        [DataMember]
        public string DscInstrumento { get; set; }
        [DataMember]
        public string DscNatureza { get; set; }
        /*28/10/2010 - Aline Abreu Alves (AAALVES)	- Alteracao OS423540 Inicio */
        [DataMember]
        public decimal PercHE { get; set; }
        [DataMember]
        public decimal PercHV { get; set; }
        [DataMember]
        public decimal PercLMM { get; set; }
        [DataMember]
        public string Transfere { get; set; }
        [DataMember]
        public string Utilizar { get; set; }
        [DataMember]
        public string Rating { get; set; }
        [DataMember]
        public int id { get; set; }
        [DataMember]
        public int CodDominioGarantia { get; set; }
        /*28/10/2010 - Aline Abreu Alves (AAALVES)	- Alteracao OS423540  - Fim */
        [DataMember]
        public decimal  PercTetoMitigacao { get; set; }
        [DataMember]
        public DateTime DatAlteracao { get; set; }
        [DataMember]
        public string VlrParametro { get; set; }
        [DataMember]
        public string DscParametro { get; set; }
    }

    [DataContract]
    public class InstrumentoLog
    {
        [DataMember]
        public int CodInstrumento { get; set; }
        [DataMember]
        public string DscInstrumento { get; set; }
        [DataMember]
        public String strTransfere { get; set; }
        [DataMember]
        public string CodUsuario { get; set; }
        [DataMember]
        public string Transfere { get; set; }
        [DataMember]
        public DateTime DatAlteracao { get; set; }
    }

    [DataContract]
    public class Retorno
    {
        [DataMember]
        public List<InstrumentoLog> ListInstrumento;
        [DataMember]
        public List<TetoMitigacao> ListTetoMitigacao;
    }
}